<?php
/**
 * Usage:
 * $this->geolocalization = new Core_Controller_Geolocalization;
 * return $this->geolocalization->main($variables)
 * array $variables structure
 * $variables = array {
 * 'city' => 'name' ? 'postal_code'
 * }
 */
class Core_Controller_Geolocalization implements Core_Controller_Mainable{
    
    private $geolocalization_model;
    
    public function __construct() {
        $this->geolocalization_model = new Core_Model_Geolocationdecision;
    }
    
    
    public function main(array $variables = null) {
        return $this->geolocalization_model->main($variables);
    }

}
